<tagLib name="html" />

<include file="Public:header" />

<div class="container" id="cpcontainer">
    <div class="itemtitle">
        <h3>{$Think.lang.nav.manage_nav}</h3>
        <ul class="tab1">
            <li><a href="__URL__/navigationList"><span>{$Think.lang.nav.all_nav}</span></a></li>
            <li class="current"><empty name="rs"><a href="__URL__/addNavigation"><span>{$Think.lang.nav.add_nav}</span></a><else/><a href="__URL__/editNavigation/nav_id/{$rs.nav_id}"><span>{$Think.lang.nav.edit_nav}</span></a></empty></li>
        </ul>
    </div>
    <form name="cpform" method="post" action="__URL__/editNavigation">
    <input type="hidden" name="op" value="save" />
    <input type="hidden" name="nav_id" value="{$rs.nav_id}" />
    <table class="tb tb2">
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.nav.nav_name}:</td></tr>
        <tr>
            <td class="vtop rowform"><input name="name" value="{$rs.name}" type="text" class="txt" /></td>
            <td class="vtop tips2"></td>
        </tr>
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.nav.nav_url}:</td></tr>
        <tr>
            <td class="vtop rowform"><input name="url" value="{$rs.url}" type="text" class="txt" /></td>
            <td class="vtop tips2"></td>
        </tr>
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.display_order}:</td></tr>
        <tr>
            <td class="vtop rowform"><input name="display_order" value="{$rs.display_order}" type="text" class="txt" /></td>
            <td class="vtop tips2"></td>
        </tr>
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.visible}:</td></tr>
        <tr>
            <td class="vtop rowform">
                <html:radio name="status" radios="navStatusRadios" checked="navStatusChecked" separator=" " />
            </td>
            <td class="vtop tips2"></td>
        </tr>
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.nav.nav_position}:</td></tr>
        <tr>
            <td class="vtop rowform" colspan="2">
                <html:radio name="position" radios="navPositionRadios" checked="navPositionChecked" separator=" " />
            </td>
        </tr>
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.nav.nav_target}:</td></tr>
        <tr>
            <td class="vtop rowform">
                <html:radio name="target" radios="navTargetRadios" checked="navTargetChecked" separator=" " />
            </td>
            <td class="vtop tips2"></td>
        </tr>
        <tr class="nobg"><td colspan="2"><div class="fixsel"><input class="btn" type="submit" value="{$Think.lang.submit}" /></div></td></tr>
    </table>
    </form>
</div>

<include file="Public:footer" />
